package com.l.shirodemo.service.impl;

import com.l.shirodemo.mapper.RoleMapper;
import com.l.shirodemo.pojo.Role;
import com.l.shirodemo.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper mapper;
    @Override
    public List<Role> findByLoginId(Integer loginId) {
        return mapper.selectByLoginId(loginId);
    }
}
